package com.feng.security.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录请求体
 * @author Feng
 * @since 2022/4/17 21:19
 */
@Data
public class LoginBody {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    private Boolean rememberMe;

    @NotBlank(message = "验证码不能为空")
    private String code;

    @NotBlank(message = "登录异常，请重试")
    private String uuid;
}
